<template>
  <el-select v-model="result[options.key]" v-bind="$props" :multiple="options.multiple">
    <el-option v-for="item in options.options"
               :key="item.value"
               :label="item.label"
               :value="item.value"></el-option>
  </el-select>
</template>

<script>
  export default{
    name: 'AppSelect',
    componentName: 'AppSelect',
    props: ['result', 'options'],
    mounted () {
      console.log(this.result, this.options)
    }
  }
</script>
